<html>
<head>
<script src="../../resources/js-test.js"></script>
<script>
description('Tests that canvas does not crash on getContext. crbug.com/442633');

function start()
{
    if (window.internals)
        internals.settings.setWebGL1Enabled(false);

    var canvas = document.getElementById('example');
    var gl = canvas.getContext("webgl");
}

testPassed("Canvas did not crash on getContext.");
</script>
</head>

<body onload="start()">
<canvas id="example"></canvas>
</body>
</html>
